<?php

class Admin_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
        $auth = Zend_Auth::getInstance();
        if(!$auth->hasIdentity())
        {
            return $this->_redirect($this->view->url(array(
                "module"=>"admin",
                "controller"=>"login"
            )));
        }
    }

}

